package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 土地资产巡查附件信息对象 t_patrol_land_assets_attach
 * 
 * @author ruoyi
 * @date 2024-04-08
 */
public class TPatrolLandAssetsAttach extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 土地巡查表表主键ID */
    @Excel(name = "土地巡查表表主键ID")
    private Long parentId;

    /** 附件表ID */
    @Excel(name = "附件表ID")
    private Long attachId;

    /** 创建者ID */
    @Excel(name = "创建者ID")
    private Long createUserId;

    /** 最后更新者ID */
    @Excel(name = "最后更新者ID")
    private Long updateUserId;

    /** 删除标记(0正常1删除) */
    private Integer delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setAttachId(Long attachId) 
    {
        this.attachId = attachId;
    }

    public Long getAttachId() 
    {
        return attachId;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }
    public void setUpdateUserId(Long updateUserId) 
    {
        this.updateUserId = updateUserId;
    }

    public Long getUpdateUserId() 
    {
        return updateUserId;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("attachId", getAttachId())
            .append("createUserId", getCreateUserId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateUserId", getUpdateUserId())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
